package com.panfeng.xcloud.common.core.enums;


public enum WalletTransLogTypeEnum {

    COVER(0, "补仓"),
    LIMITED(1, "止盈"),
    CANCELLCOVER(2, "取消补仓"),
    CANCELLIMITED(3, "取消止盈"),
    COVERNOENOUGH(4, "补仓买入金额不足"),
    BUYORDER(5, "开仓挂单"),
    SELLORDER(6, "清仓挂单"),
    BUYVOLUME(7, "开仓成交"),
    SELLVOLUME(8, "清仓成交"),
    COVERSUCCEED(9, "补仓成交"),
    USDTNOTENOUGHT(10, "余额不足"),
    ;

    private int code;
    private String message;

    private WalletTransLogTypeEnum(int code, String message){
        this.code=code;
        this.message=message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
